<?php session_start();?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="maintenancePagesCSS.css" />
        <title>Customer Search</title>
    </head>
    <body>

        <center>
            <form method="post" action="CustomerSearchFunc.php" id="CustomerSearchForm">
               <table width="1000" height="544" border="0" background="images/background.jpg">
                  <tr>
                    <th height="248" bgcolor="#454343" scope="col"><p><img src="images/TitleCustomerSearch.gif" alt="Customer Search" width="514" height="67"></p>
                      <table class="EditTable">
                      
                      <tbody>
                        <tr>
                          <td><input type="text" name="searchBox2" value="" size="25" id="searchBox2"/></td>
                          <td><select name="select" id="select">
                              <option value="CustomerID">Customer ID</option>
                              <option value="LastName">Last Name</option>
                              <option value="FirstName">First Name</option>
                            </select>                          </td>
                        </tr>
                        <tr>
                          <td><input name="button" type="button" onclick = checkForm(); value="Search" /></td>
                          <td></td>
                        </tr>
                      </tbody>
                    </table>
					<BR><BR>
<script src="links.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
            writeCustomerLinks("", "");
</script>
</th>
                  </tr>
                  <tr>
                    <th height="287" bgcolor="#454343" scope="col">&nbsp;</th>
                  </tr>
                </table>
          </form>


        </center>
        <?php
        // put your code here
        ?>
        <center><br>
        </center>
    </body>
    <script type="text/javascript">
        function checkForm()
        {
            if((document.getElementById("searchBox").value == ""))
            {
                alert("Search field is blank.");
            }
            else
            {
                document.getElementById("CustomerSearchForm").submit();
            }
        }
    </script>
</html>
